package week5;

import java.io.IOException;

/**
 * Created by dell on 2017/3/24.
 */
public class ExceptionTest {
    public static void main(String[] args) {
        /*try {
            System.in.read();
        }catch (Exception ex) {
            ex.printStackTrace();
        }catch (IOException ex) {
            ex.printStackTrace();
        }*/

        try {
            System.in.read();
        }catch (IOException ex) {
            ex.printStackTrace();
        }catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}

